<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge"> 
<meta name="viewport" content="width=device-width, initial-scale=1"> 
<title>Fullscreen Form Interface</title>
<script type="text/javascript" src="../js/jquery-1.11.0.min.js"></script>
<link rel="stylesheet" type="text/css" href="../css/normalize.css" />
<link rel="stylesheet" type="text/css" href="../css/demo.css" />

<link rel="stylesheet" type="text/css" href="../css/component.css" />
<link rel="stylesheet" type="text/css" href="../css/cs-select.css" />
<link rel="stylesheet" type="text/css" href="../css/cs-skin-boxes.css" />

<script src="../js/modernizr.custom.js"></script>
<script>


</script>
</head>
<body>

<div class="fs-form-wrap" id="fs-form-wrap">
	<form id="myform" class="fs-form fs-form-full"  action="/expressage/findExpressage2" autocomplete="off">
		<ol class="fs-fields">
			<li>
				<label class="fs-field-label fs-anim-upper" for="q1">亲,请输入物流单号!</label>
				<input type="hidden" id="q2" name="q2" >
				<input class="fs-anim-lower" id="q1" name="q1" type="text" placeholder="列如:'YT4714044349513'" required/>
			</li>
		</ol><!-- /fs-fields -->
		<button class="fs-submit" type="submit">提交单号</button>
	</form><!-- /fs-form -->
</div><!-- /fs-form-wrap -->

<script type="text/javascript" src="../js/classie.js"></script>
<script type="text/javascript" src="../js/selectFx.js"></script>
<script type="text/javascript" src="../js/fullscreenForm.js"></script>
<script type="text/javascript">
(function() {

	var formWrap = document.getElementById( 'fs-form-wrap' );

	[].slice.call( document.querySelectorAll( 'select.cs-select' ) ).forEach( function(el) {	
		new SelectFx( el, {
			stickyPlaceholder: false,
			onChange: function(val){
				document.querySelector('span.cs-placeholder').style.backgroundColor = val;
			}
		});
	} );

	new FForm( formWrap, {
		onReview : function() {
			classie.add( document.body, 'overview' ); // for demo purposes only
		}
	} );
	let item = window.localStorage.getItem("loId");
	document.getElementById("q2").value = item;
	window.localStorage.removeItem("loId");
})();

</script>
</body>
</html>